import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router"
import Home from "@/pages/home/index.vue"
import Login from '@/pages/login/index.vue'

const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    component: Login,
  },
  {
    path: "/home",
    component: Home,
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes,
})

export default router
